package com.nanyang.tms.api.service.forecast;

import com.nanyang.common.core.domain.ApiResult;
import com.nanyang.tms.api.dto.request.forecast.ForecastInfoAddRequest;
import com.nanyang.tms.api.dto.request.waybill.CalWeightRequest;
import com.nanyang.tms.api.dto.response.forecast.ForecastDetailResponse;
import com.nanyang.tms.api.dto.response.waybill.WeightResponse;

import javax.validation.constraints.NotNull;

public interface ForecastCoreRpcService {
     public ApiResult<Boolean> insertForecast(ForecastInfoAddRequest forecastInfoAddRequest);
     
     public ApiResult<Boolean> updateTicketNumber(@NotNull(message="预报编码不能为空") String forecastCode,@NotNull(message="单号种类不能为空") String ticketNo);
     
     
     public ApiResult<ForecastDetailResponse> getForecastDetail(@NotNull(message="服务商单号不能为空") String ticketNo);
     
     
    
}

